<html xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta content="text/html;charset=UTF-8" />
        <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet">
        <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" rel="stylesheet">
        <script src="https://cdn.bootcss.com/jquery/2.2.0/jquery.js"></script>
        <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.js"></script>
        <style>
        	.login-box{
        		width:500px;
        		padding:20px 10px;
        	}
        </style>
    </head>
    <body>
    <div class="container">
   		 <div class="login-box">
		    <form class="form-horizontal" th:action="@{'/customer/save'}" method="post">
		    	 <input type="hidden" th:value="${customerInfo.customerid}" name="customerid" />
				  <div class="form-group">
				    <label for="username" class="col-sm-2 control-label">用户名</label>
				    <div class="col-sm-10">
				      <input type="text" th:value="${customerInfo.username}" class="form-control" id="username" 
				      name="username" placeholder="Username" >
				    </div>
				  </div>
				  <div class="form-group">
				    <label for="inputPassword3" class="col-sm-2 control-label">密码</label>
				    <div class="col-sm-10">
				      <input type="text" th:value="${customerInfo.password}" class="form-control" id="password" 
				      name="password" placeholder="Password">
				    </div>
				  </div>
				    <div class="form-group">
				    <label for="address" class="col-sm-2 control-label">地址</label>
				    <div class="col-sm-10">
				      <input type="text" th:value="${customerInfo.address}"  class="form-control" id="address" 
				      name="address" placeholder="Address">
				    </div>
				  </div>
				  <div class="form-group">
				    <div class="col-sm-offset-2 col-sm-10">
				      <button type="submit" class="btn btn-default">更新</button>
				    </div>
				  </div>
				</form>
			</div>
    </div>
    </body>
</html>